package com.yiyi.credit.manage.sso.service.inner;



import com.yiyi.credit.manage.sso.common.exception.ServiceException;
import com.yiyi.credit.manage.sso.model.entity.SysResource;

import java.util.List;


public interface UserPermissionService {


    List<SysResource> getSysUserPermission(Long userId, Long sysInfoId) throws ServiceException;


    SysResource getSysChildNodePermission(Long userId, Long sysInfoId, Long pid, boolean whetherAllChild)
            throws ServiceException;


    List<SysResource> gerSysResourceBySysInfoId(Long sysInfoId) throws ServiceException;


    SysResource getSysUserPermissionByUrl(Long userId, Long sysInfoId, String url) throws ServiceException;
}
